<template>
  <Modal
    title="层压板编辑"
    v-model:active="layerEditorModalActive"
    width="960px"
    height="560px"
    class="material-modal"
    x-offset="0"
    :style="{ padding: '0 !important' }"
    @confirm="executeMatEmit"
  >
    <div class="content">TODO: 待实现</div>
  </Modal>
</template>
<script setup lang="ts">
import { Modal } from "cax-ui";
import { defineEmits } from "vue";
import { useCoreStore } from "@/UI/store";
import { storeToRefs } from "pinia";
const coreStore = useCoreStore();
const { layerEditorModalActive } = storeToRefs(coreStore);

const emit = defineEmits(["emitMaterial"]);

function executeMatEmit() {
  coreStore.layerEditorModalActive = false;
  emit("emitMaterial", "");
}
</script>
<style scoped lang="less"></style>
